<template>
    <div>
        <div class="liandong" v-for="(v,i) in chengren" :key="i">
                <p>{{v.title}}</p>
            <div v-if="v.children" class="liandong1">
                <golist :chengren="v.children"></golist>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name: 'golist',
        props: ['chengren'],
    }
</script>

<style scoped>
    .liandong1 {
        padding-left: 20px;
    }
    .liandong1 p {
        padding-left: 90px;
        background: url(../../static/images/detail_03.png) no-repeat 38px center !important;
        background-size: 35px 35px !important;
    }
    p {
        line-height: 88px;
        background: url(../../static/images/detail_03.png) no-repeat 20px center;
        background-size: 35px 35px;
        border-bottom: 1px solid #eee;
        padding: 0px 0px 0px 70px
    }
</style>